package com.wh.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wh.system.dto.EmployeeRoleDto;
import com.wh.system.pojo.EmployeeRole;

import java.util.List;

public interface IEmployeeRoleService {
    void add(EmployeeRole employeeRole);
    void del(Long id);
    void upd(EmployeeRole employeeRole);
    List<EmployeeRole> findAll();
    EmployeeRole findById(Long id);

    void patchDel(List<Long> ids);

    IPage<EmployeeRole> findByPage(EmployeeRoleDto employeeRoleDto);
}
